From 2a7c4f969874b850e30170f3aef5b578677220b0 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Sat, 12 Sep 2026 22:26:09 +0200 Subject: Scope badges, titles, and one-off styles; add Button outline ScoreBadge/StatusBadge carry their own color scales, no bg-*/text-* globals. SectionTitle unifies category-name and section-title dupes (h2/h3 via level prop). Grocery add-bar buttons use Button, new outline variant for the secondary action. save-status moves into its only page. Delete dead globals and page overrides. --- .../[projectId]/routine/[routineId]/+page.svelte | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'src/routes/projects/[projectId]/routine') diff --git a/src/routes/projects/[projectId]/routine/[routineId]/+page.svelte b/src/routes/projects/[projectId]/routine/[routineId]/+page.svelte index 55185cc..ea292ae 100644 --- a/src/routes/projects/[projectId]/routine/[routineId]/+page.svelte +++ b/src/routes/projects/[projectId]/routine/[routineId]/+page.svelte @@ -11,6 +11,7 @@ computeHealthSeries, } from '$lib/shared/routine-metrics'; import { formatDayMonth, formatDayMonthYear } from '$lib/shared/temporal'; + import SectionTitle from '$lib/components/SectionTitle.svelte'; let { data, form } = $props(); let name = $state(''); let frequency = $state(''); @@ -125,7 +126,7 @@ {/if} -

Santé

+ Santé
-

Historique

+ Historique {#if !data.routine.archived}